import instance from 'utils/request';

export function paymentList(params: any) {
  return instance.get('/order/filter/', { params });
}

// 订单Add
export function orderAddApi(body: any) {
  return instance.post('/order/create/', body);
}
export function walletList(params: any) {
  return instance.get('/cost/list/', { params });
}

export function checkEmailApi(params:any){
  return instance.get('/auth/first/', { params });
}


// 获取支付方式
export function getPayMethodApi(){
  return instance.get('/utils/paymethod/list/')
}


export function getPayMethodRolesApi(){
  return instance.get('/utils/open/paymethod/')
}